Buckaroo\Woocommerce\Gateways\AbstractPaymentGateway C

Total Complexity 105
Dependencies 17
Dependents 9
Total lines 738
Lines of code 420
Logical lines of code 166
Comment lines 156
Methods 43
Properties 11

Methods 43

Method Rating Maintainability Complexity Lines of code
getPaymentFeeVat()
A
52 10 20
process_capture()
A
50 8 28
init_form_fields()
A
40 5 69
getScalarCheckoutField()
S
59 5 14
validate_number_field()
S
59 5 13
addGatewayHooks()
S
54 4 21
generate_buckaroo_notice_html()
S
67 5 6
get_failed_url()
S
61 4 12
setTitle()
S
53 3 24
apply_filters_or_error()
S
66 4 7
newRefundProcessorInstance()
S
62 3 12
migrateOldSettings()
S
65 3 9
init_settings()
S
61 2 13
newPaymentProcessorInstance()
S
62 2 12
__construct()
S
61 2 11
getPaymentDescription()
S
67 2 7
replace_order_button_html()
S
72 2 6
action_woocommerce_checkout_process()
S
73 2 5
response_handler()
S
63 2 10
renderTemplate()
S
63 2 10
getPaymentTemplate()
S
68 2 7
validate_fields()
S
73 2 5
apply_filter_or_error()
S
71 2 6
setCountry()
S
66 2 8
can_show_financial_warining()
S
74 2 4
get_payment_class()
S
80 2 3
isVisibleInCheckout()
S
79 2 3
add_financial_warning_field()
S
62 1 12
setProperties()
S
64 1 9
getIcon()
S
82 1 3
thankyou_description()
S
91 1 2
payment_fields()
S
82 1 3
process_payment()
S
78 1 3
process_refund()
S
78 1 3
getServiceCode()
S
79 1 3
setIcon()
S
71 1 6
getIconPath()
S
78 1 3
addRefundSupport()
S
73 1 6
create_capture_error()
S
68 1 9
set_order_capture()
S
75 1 4
getMode()
S
80 1 3
checkCurrencySupported()
S
79 1 3
canShowCaptureForm()
S
82 1 3